package com.example.demo.jdk.map;

/**
 * @author: htc
 * @date: Created in 10:42 2018/11/26.
 */
public interface MyMap<K, V> {
    int size();

    boolean isEmpty();

    boolean containsKey(Object key);

    boolean containsValue(Object value);

    V get(Object key);

    V put(K key, V value);

    V remove(Object key);

    void putAll(MyMap<? extends K, ? extends V> m);

    void clear();
}
